package cn.edu.ncut.cs.springboot.springsecuritydemo.service;

import cn.edu.ncut.cs.springboot.springsecuritydemo.entity.Attendance;

import java.util.List;
import java.util.Optional;

public interface AttendanceService {
    List<Attendance> getAllAttendances();
    Optional<Attendance> getAttendanceById(Long id);
    List<Attendance> getAttendancesByEmployeeId(Long employeeId);
    Attendance createAttendance(Attendance attendance);
    Attendance updateAttendance(Attendance attendance);
    void deleteAttendance(Long id);
}
